package com.kws.payment.service;

import com.kws.payment.dao.CreateAppUnionPayOrderRq;
import com.kws.payment.dao.UnionPayRefundRq;
import com.kws.payment.dao.info.CreateAppUnionPayOrderInfo;
import com.kws.payment.dao.info.PaymentCallbackInfo;

public interface UnionAPPPayService {
    CreateAppUnionPayOrderInfo createAppWeixinUnionPayOrder(CreateAppUnionPayOrderRq rq) throws Exception;

    CreateAppUnionPayOrderInfo createAppAliUnionPayOrder(CreateAppUnionPayOrderRq rq) throws Exception;

    CreateAppUnionPayOrderInfo createAppYunFlashPayOrder(CreateAppUnionPayOrderRq rq) throws Exception;

    CreateAppUnionPayOrderInfo closeUnionPayOrder(String orderNo) throws Exception;

    CreateAppUnionPayOrderInfo unionPayAppRefund(UnionPayRefundRq rq) throws Exception;

    void unionPayPaymentResult(PaymentCallbackInfo resultInfo);

}
